//
//  LBRenderToScreenFilter.mm
//  OpenGLGame
//
//  Created by Nguyen Cong Huy on 11/28/12.
//  Copyright (c) 2012 UIT. All rights reserved.
//

#include <iostream>
#include "LBRenderToScreenFilter.h"
#include "LBGraphics.h"

LBRenderToScreenFilter::LBRenderToScreenFilter(){
    
}
void LBRenderToScreenFilter::render(){
    LBGraphics* g = LBGraphics::getInstance();
    g->renderToScreen();
    g->useDefaultProgram();
    renderTexture(x, y, scaleX, scaleY);
}